// Using the closure to map jQuery to $. 
(function ($) {

// Store our function as a property of Drupal.behaviors.
Drupal.behaviors.changes = {
	attach: function(context, settings) {
		$('#img-loading').hide();
		
		$('#view-package-changes-form').submit(function() {
			$('#img-loading').show();
		});
		
	}
};
}(jQuery));